package cn.bdqn.t354.service;

import cn.bdqn.t354.SpringbootJunitApplication;
import cn.bdqn.t354.service.UserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = SpringbootJunitApplication.class)
public class UserServiceTester {
    @Resource
    UserService userService;

    @Test
    public void test(){
        userService.insert();
    }
}
